package com.edu.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Optional;
import javax.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.edu.common.annotation.Excel;

/**
 * 成绩对象 t_study_score
 * 
 * @author xxxx
 * @date 2023-12-29
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TStudyScore
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 学号 */
    @Excel(name = "学号")
    @NotNull(message = "学号不能为空")
    private String stuNo;

    @Excel(name = "姓名")
    private String name;

    private Long classId;

    private Long examId;

    /** 考试名称 */
    @Excel(name = "考试名称")
    @NotNull(message = "考试名称")
    private String title;

    /** 考试时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "考试时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date examDate;

    private String lessonName;

    private Double score;

    /** 班级排名 */
    private Integer rankClass;

    /** 校排名 */
    private Integer rankSchool;

    /** 班级进退步 */
    private Integer upswingClass;

    /** 校进退步 */
    private Integer upswingSchool;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;



}
